package Code.Port.Demo;

public class Flog extends Animal implements Swim{

    public Flog() {}

    public Flog(String name, int age) {
        super(name,age);
    }

    @Override
    public void eat() {
        System.out.println("吃虫子");
    }

    @Override
    public void swimming() {
        System.out.println("蛙泳");
    }
}
